package com.jinzhi.jzweb.utils;

import java.math.BigDecimal;

public class DoubleUtil {



    public static double douToTwo(double two){

        BigDecimal bg1 = new BigDecimal(two);
        double f11 = bg1.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();

        return f11;
    }
}
